﻿using MediatR;
using Tb.App.API.Dtos.Rabbit;
using Tb.App.ErrorCode;

namespace Tb.App.API.Applications.Command.Basic
{
    public class GetBasicQueryCommand:IRequest<ApiResult<ApiPaging<List<BasicDTO>>>>
    {
            ///<summary>
            /// 页码
            /// </summary>
            public int PageIndex { get; set; }
        /// <summary>
        /// 页容
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? StoreName { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int Expiration { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? License { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? Company { get; set; }
    }
}
